package com.cskaoyan.service;

import com.cskaoyan.bean.advert.AdvertAddVo;
import com.cskaoyan.bean.param.BaseParam;
import com.cskaoyan.bean.advert.AdvertInfoVo;
import com.cskaoyan.bean.po.MarketAd;

public interface AdvertService {

    /**
     * 查询对应的广告信息
     * @param baseParam
     * @param name
     * @param content
     * @return
     */
    AdvertInfoVo queryAdvert(BaseParam baseParam, String name, String content);

    /**
     * 添加广告信息
     * @param marketAd
     * @return
     */
    AdvertAddVo createAdvert(MarketAd marketAd);

    /**
     * 广告信息的编辑
     * @param marketAd
     * @return
     */
    MarketAd updateAdvert(MarketAd marketAd);
}
